package com.totowoo.dao;

import org.springframework.data.jpa.repository.JpaRepository;

import com.totowoo.pojo.Role;

public interface RoleDao extends JpaRepository<Role, Integer> {
	
	public Role getByRoleCode(String roleCode);
	
	public Role getByRoleName(String roleName);

}
